package com.todo.pro.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.todo.pro.admin.mapper.AdminSystemUserDao;
import com.todo.pro.admin.service.AdminSystemUserService;
import com.todo.pro.res.table.UserResult;

@Service
public class AdminSystemUserServiceImpl implements AdminSystemUserService {

	@Autowired
	private AdminSystemUserDao adminSystemUserDao;

	@Override
	public Page<UserResult> selectUserPage(Page<UserResult> page, String loginName) {
		return page.setRecords(adminSystemUserDao.selectSystemUserList(page, loginName, null, null));
	}

}
